package cn.study.luckyinfrastructure.gateway.iml.mapper;

import cn.study.luckyinfrastructure.gateway.iml.dataObject.RecordDB;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface RecordMapper extends BaseMapper<RecordDB> {
    @Update("update bld_record set state=#{status} and id=#{id}")
    Boolean updateStatus(@Param("id") Long id,@Param("status") Integer status);
}
